package com.imooc.mall.service;

import com.github.pagehelper.PageInfo;
import com.imooc.mall.model.pojo.Category;
import com.imooc.mall.model.pojo.Product;
import com.imooc.mall.model.request.AddCategoryAdd;
import com.imooc.mall.model.request.AddProductAdd;
import com.imooc.mall.model.request.ProductRequest;
import com.imooc.mall.model.vo.CategoryVO;

import java.util.List;

public interface ProductService {


    void AddProductAdd(AddProductAdd addProductAdd);

    void UpdateProduct(Product product);

    void DeleteProduct(Integer id);

    void BatchUpdateSellStatus(Integer[] ids, Integer sellStatus);

    PageInfo listAdmin(Integer pageSize, Integer pageNum);

    Product detail(Integer id);

    PageInfo list(ProductRequest productRequest);
}
